package self.hoy.demo.grainmall.cart;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import self.hoy.demo.grainmall.EnableRedisSession;

/**
 * TODO session的redis和数据的redis区分database存放
 * @author hyh
 * @date 2020/8/16
 */
@EnableFeignClients
@EnableRedisSession// 启用redis整合session共享
@EnableDiscoveryClient
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
public class GrainmallCartApplication {
    public static void main(String[] args) {
        SpringApplication.run(GrainmallCartApplication.class);
    }


}
